import { Controller, Get, Post, Body, Patch, Param, Delete } from '@nestjs/common';
import { NetworkpolicyService } from './networkpolicy.service';
import { CreateNetworkpolicyDto } from './dto/create-networkpolicy.dto';
import { UpdateNetworkpolicyDto } from './dto/update-networkpolicy.dto';

@Controller('networkPolicy')
export class NetworkpolicyController {
  constructor(private readonly networkpolicyService: NetworkpolicyService) {}
 /* 获取networkpolicy列表 */
 @Post('/listNetworkpolicy/:agentId')
 postListNetworkpolicy(@Body() body: any) {
   return this.networkpolicyService.postListNetworkpolicy();
 }


}
